using System;
namespace Coding4Fun.Phone.Controls.Toolkit
{
	public class HourTimeSpanDataSource : TimeSpanDataSource
	{
		public HourTimeSpanDataSource() : base(23, 1)
		{
		}
		public HourTimeSpanDataSource(int int_0, int step) : base(int_0, step)
		{
		}
		protected override TimeSpan? GetRelativeTo(TimeSpan relativeDate, int delta)
		{
			return new TimeSpan?(new TimeSpan(base.ComputeRelativeTo(relativeDate.get_Hours(), delta), relativeDate.get_Minutes(), relativeDate.get_Seconds()));
		}
	}
}
